package com.kevin.springcloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * @author xijinlong
 * @date 2020-08-23 16:13
 */

@SpringBootApplication
@Slf4j
// 声明自己是 eureka 的服务端
@EnableEurekaServer
public class EurekaMain7002 {
    
    public static void main(String[] args) {
        SpringApplication.run(EurekaMain7002.class, args);
        log.info(EurekaMain7002.class.getSimpleName() + " is success!");
    }
}
